package com.qt.pojo.dto;

import com.qt.pojo.base.BaseDTO;
import lombok.*;

import javax.validation.constraints.NotBlank;

/**
 * @author pgw
 * @version 1.0
 * @description
 * @date Create by 2023/9/18 15:20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class LoginDTO  extends BaseDTO {

    @NotBlank(message = "用户名不能为空")
    private  String username;

    @NotBlank(message = "密码不能为空")
    private  String password;

}
